package com.t01.bdqn.mapper;

import com.t01.bdqn.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SupplierMapper {
    public List<Supplier> getListSupplier(@Param("page") Integer page,@Param("limit") Integer limit);

    Integer count(@Param("id") Integer id,@Param("name") String name);

    public List<Supplier> getListSupplierInfo(@Param("page") Integer page,@Param("limit") Integer limit,@Param("id") Integer id,@Param("name") String name);

    Integer addData(@Param("supplierId")Integer supplierId,@Param("supplierName")String supplierName);

    int deletetSuppLierMapper(@Param("id") int id);

    Integer updateData(Supplier supplier);


}
